<!--
 * @Description: DOM操作
 * @Author: rendc
 * @Date: 2021-09-10 11:32:15
 * @LastEditors: rendc
 * @LastEditTime: 2021-09-10 12:13:32
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>DOM操作</title>
  <script src="../js/jquery.js"></script>
</head>

<body>
  <div id="app">
    这是一个div
    <p>123</p>
  </div>
  <div>2</div>
  <div>3</div>
  <p>p1</p>
</body>
<script>
  $("div").each(function () {
    console.log($(this));
  });
</script>

</html>